<template>
  <h1>这是 Level3InjectDemo.vue 组件</h1>
  <h2> Level3InjectDemo.vue  监听消息：{{ message }}</h2>
</template>


<script setup>

import {inject} from "vue";

const message = inject('msgKey');
</script>


<style scoped>

</style>